SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

stb_sprintf-devel rpm build for : Fedora 40. For other distributions click stb_sprintf-devel.

Name : stb_sprintf-devel
Version : 1.10^20240213gitae721c5 Vendor : Fedora Project
Release : 2.fc40 Date : 2024-02-14 18:49:11
Group : Unspecified Source RPM : stb-0^20240213gitae721c5-2.fc40.src.rpm
Size : 0.06 MB
Packager : Fedora Project
Summary : Fast sprintf, snprintf for C/C++
Description :
This is a full sprintf replacement that supports everything that the C runtime
sprintfs support, including float/double, 64-bit integers, hex floats, field
parameters (%*.*d stuff), length reads backs, etc.

Why would you need this if sprintf already exists? Well, first off, it’s *much*
faster (see below). It’s also much smaller than the CRT versions
code-space-wise. We’ve also added some simple improvements that are super handy
(commas in thousands, callbacks at buffer full, for example). Finally, the
format strings for MSVC and GCC differ for 64-bit integers (among other small
things), so this lets you use the same format strings in cross platform code.

It uses the standard single file trick of being both the header file and the
source itself. If you just include it normally, you just get the header file
function definitions. To get the code, you include it from a C or C++ file and
define STB_SPRINTF_IMPLEMENTATION first.

It only uses va_args macros from the C runtime to do its work. It does cast
doubles to S64s and shifts and divides U64s, which does drag in CRT code on
most platforms.

It compiles to roughly 8K with float support, and 4K without. As a comparison,
when using MSVC static libs, calling sprintf drags in 16K.

RPM found in directory: /vol/rzm3/linux-fedora-buffet/linux/development/40/Everything/x86_64/os/Packages/s

Content of RPM  Changelog  Provides Requires

Download
ftp.icm.edu.pl  stb_sprintf-devel-1.10^20240213gitae721c5-2.fc40.i686.rpm
     Search for other platforms
stb_sprintf-devel-1.10^20240213gitae721c5-2.fc40.sparc.rpm
stb_sprintf-devel-1.10^20240213gitae721c5-2.fc40.alpha.rpm
stb_sprintf-devel-1.10^20240213gitae721c5-2.fc40.ppc.rpm
stb_sprintf-devel-1.10^20240213gitae721c5-2.fc40.ia64.rpm
stb_sprintf-devel-1.10^20240213gitae721c5-2.fc40.s390.rpm

Provides :
stb_sprintf-devel
stb_sprintf-devel(x86-32)
stb_sprintf-static

Requires :
rpmlib(CaretInVersions) <= 4.15.0-1
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/include/stb
/usr/include/stb/stb_sprintf.h
/usr/include/stb_sprintf.h
/usr/share/licenses/stb_sprintf-devel
/usr/share/licenses/stb_sprintf-devel/LICENSE

 
ICM